import java.util.Scanner;
public class Exercise051 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个整数：");
        int number = sc.nextInt();
        for(int i = 1; i <=number; i++){
            if(i * i == number){
                System.out.println(i + "就是" + number + "的算术平方根");
                break;
            }
            else if( i * i > number){
                System.out.println((i-1) + "就是" + number + "的算数平方根的整数部分");
                break;
            }
        }
    }
}
